
package com.gs.service.stayregister;

import java.sql.Timestamp;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gs.pojo.StayRegister;
import com.gs.utils.Page;

public interface StayRegisterService {

	List<StayRegister> selectAll();

	List<StayRegister> selectShuJuTongJi(Timestamp min, Timestamp max);

	int updateRemind(int id,int remind);

	//旅客的分页查询
	Page<StayRegister> pageFuzzyselectOne(int receiveTargeTypeID,
			int isBillID, String roomNumber , Page<StayRegister> vo);

	//根据 团队id来查询 总费用
	List<StayRegister> selectFormTeamId(int receiveTargetID,int isBillID);

	//根据结账状态ID查询团队小伙伴是否结账
	List<StayRegister> selectFormTeamIdTwo(int isBillID);

	//团队的分页模糊查询 two 
	public Page<StayRegister> pageFuzzyselectTwo(int receiveTargetID,
			int isBillID,	String roomNumber,Page<StayRegister> vo);


	//团队的分页模糊查询 Three
	Page<StayRegister> pageFuzzyselectThree(int isBillID,	String roomNumber,
			Page<StayRegister> vo);

	int insertAll(StayRegister stayRegister);

	int updateStayRegisterPredetermineID(Integer predetermineID,Integer id);

	int insertDeposit(StayRegister stayRegister);

	int insertStayregisterdetails(Integer stayRegisterID, Integer passengerID);
	//查询用于计算房间加商品消费
	List<StayRegister> selectMoney(int id);

	//换房 修改原信息
	int updateChangRoom(StayRegister stayRegister);

	//换房 查看原信息
	List<StayRegister> selectChangRoom(int id);
	//查询押金信息
	List<StayRegister> selectDepositById(Integer id);
	
	//新增消费明细
  	public int insertConsumptiondetails(StayRegister stayRegister);
  	
	//消费明细分页
	Page<StayRegister> pageConsumption(Integer consumptionStayRegisterID, Page<StayRegister> vo);

	//消费明细的删除
	int deleteConsumption(Integer id);
}


